﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.Dependency;
using EasyCaching.Core.Internal;
using Hicap.AuthorizationServer.Core.Models;

namespace Hicap.AuthorizationServer.Core.Managers
{
    public interface IUserRoleRelatedManager : IManagerBase<UserRoleRelated>, IEasyCaching,
        ITransientDependency
    {
        Task<int> GetCount(Func<UserRoleRelated, bool> query);

        List<Role> GetRole(int id);

        IQueryable<UserRoleRelated> GetRoleAllIncluding();
    }
}